.class Lcom/waiqin365/lightapp/im/gallery/d;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPageScrollStateChanged(I)V
    .locals 0

    return-void
.end method

.method public onPageScrolled(IFI)V
    .locals 0

    return-void
.end method

.method public onPageSelected(I)V
    .locals 6

    const v4, 0x7f08060e

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->b(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0802fa

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    add-int/lit8 v2, p1, 0x1

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->a(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v0, p1}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->a(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;I)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->a(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->c(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->b:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->d(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f020079

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->a(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->c(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->e:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f020061

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->f(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Landroid/widget/TextView;

    move-result-object v1

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-virtual {v2, v4}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, ":"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "("

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->a(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v4, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v4}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->c(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)I

    move-result v4

    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/im/gallery/a/k;

    iget-object v0, v0, Lcom/waiqin365/lightapp/im/gallery/a/k;->c:Ljava/lang/String;

    invoke-static {v3, v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->a(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;Ljava/lang/String;)D

    move-result-wide v4

    invoke-virtual {v2, v4, v5}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "MB)"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->d(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f020078

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->e(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Landroid/widget/ImageView;

    move-result-object v0

    const v1, 0x7f02005e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->f(Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;)Landroid/widget/TextView;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/gallery/d;->a:Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;

    invoke-virtual {v1, v4}, Lcom/waiqin365/lightapp/im/gallery/GalleryReviewActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_1
.end method
